/*
 * @Author       : Hejh(3010733382@qq.com)
 * @Version      : V1.0
 * @Date         : 2024-01-29 12:45:29
 * @Description  : 用户激活考试相关的一些类型
 */
import type { PageRes } from './commom'

export interface UserActiveExamReq {
  page?: number
  pageSize?: number
  userId?:string
  examId?:string
}

// UserActiveExam返回实体
export interface UserActiveExamRes {
  id: string
  userId:string
  activeCodeId:string
  examId:string
  activeCode:string
  User:any
  Exam:any
  ActiveCode:any
  createTime:string
}

// 分页UserActiveExam返回实体
export type UserActiveExamPageRes = PageRes<UserActiveExamRes>

// 用户激活考试添加请求实体类型
export interface UserActiveExamCreateReq {
  userId?:string
  examId:string
  activeCode:string
}

// 用户激活考试修改请求实体
export interface UserActiveExamUpdateReq extends UserActiveExamCreateReq {
  userActiveExamId?: string
}

export type UserActiveExamRowData = UserActiveExamRes
